package com.ctshk.rpc.tour.entity.es;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;

/**
 * @author lys
 */
@Data
@ApiModel(value = "ScenicJsonCache对象", description = "景点缓存信息")
public class ScenicJsonCache implements Serializable {

    @ApiModelProperty(value = "景点id")
    @Field(type = FieldType.Long)
    private Long id;

    @ApiModelProperty(value = "景点名称")
    @Field(type = FieldType.Keyword)
    private String name;

}